package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车辆进出记录
 * </p>
 *
 * @author neo
 * @since 2020-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CrmCarHistory对象", description="车辆进出记录")
public class CrmCarHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "车辆进出历史id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "车辆id")
    @TableField("carid")
    private Long carid;

    @ApiModelProperty(value = "出入状况：0出1入")
    @TableField("status")
    private Boolean status;

    @ApiModelProperty(value = "出入时间")
    @TableField("time")
    private LocalDateTime time;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_delete")
    private Boolean isDelete;


}
